package com.yin.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yin.entity.UserEntity;
import com.yin.mapper.UserMapper;

/**
*@author LSY
*Time: 2018年12月24日上午11:18:17
*
*
*/
@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;
	
	public UserEntity queryById(Long id) {
		return userMapper.selectByPrimaryKey(id);
	}
}
